package com.oya.worktalk.dao;

import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.oya.worktalk.dto.Article;

public class ArticleDaoImp extends SqlSessionDaoSupport implements ArticleDao{

	@Override
	public int insertArticle(Article article) {
		logger.info("#######################################################");
		logger.info(article.toString()+"");
		
		return getSqlSession().insert("worktalk.insertArticle", article);
	}

}
